﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Routing;

namespace LevenBlog.Core.Mvc
{
    public class MessageEntity
    {
        public string Title { get; set; }
        public string Content { get; set; }
        public string JumpUrl { get; set; }
        public RouteValueDictionary JumpRoute { get; set; }
        public bool IsAuto { get; set; }
        public MessageIcon Icon { get; set; }

        public MessageEntity()
        {
            Title = string.Empty;
            Content = string.Empty;
            JumpUrl = string.Empty;
            JumpRoute = null;
            IsAuto = false;
            Icon = MessageIcon.Message;
        }
    }

    public enum MessageIcon
    {
        Message,
        Warning,
        Error,
        Question
    }
}
